#pragma once

#include "Sprite.h"
#include "NewBullet.h"
#include <queue>

class CListBullet
{
private:
	std::queue<CNewBullet*> _BulletPool;
	std::vector<CNewBullet*> _ShootedBullet;
	int _MaxBullet;
public:
	CListBullet(void);
	CListBullet(int MaxBullet);
	~CListBullet(void);
	void Shoot(int X, int Y, int TimeAlive, float VectorX, float VecTorY, int TypeBullet);
	void Render();
	std::vector<D3DXVECTOR2> GetBulletsPostion();
	void SetMaxBullet(int MaxBullet);
};